package cn.com.bluemoon.daps.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Jarod.Kong
 */
@Data
@ApiModel(description = "消息")
public class NoticeResponseVo implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "通知的标题")
    private String noticeTitle;

    @ApiModelProperty(value = "通知的内容")
    private String noticeContent;

    @ApiModelProperty(value = "通知的模板 1-影响通知", example = "1")
    private Integer noticeTemplate;

    @ApiModelProperty(value = "发送人")
    private String sender;

    @ApiModelProperty(value = "发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime sendTime;

    @ApiModelProperty(value = "通知状态 0-失败 1-成功")
    private Integer noticeStatus;

}
